import layout from '@/layout/layout/index.vue';

const meta = { requiresAuth: false };

export default {
  path: '/user',
  name: 'user',
  meta,
  authority: 'userManager',
  redirect: { name: 'userManager' },
  component: layout,
  children: (pre => [
    {
      path: 'home',
      name: `${pre}home`,
      authority: 'userManager',
      component: () => import('@/pages/User/index.vue'),
      meta: { ...meta, title: '示例首页' }
    }

  ])('person-')
};
